package com.damuzee.lvyou.user.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;

import org.mybatis.sql.BaseBean;
import org.mybatis.sql.annotation.BaseResultMap;

import com.damuzee.lvyou.user.persistence.UserInfoMapper;

/**
 * auto generator
 * 
 * @auth karka.w
 */
 
@Table(name = "bsn_user_info")
@BaseResultMap(name=UserInfoMapper.class)
public class UserInfo extends BaseBean implements java.io.Serializable {

    //主键
 	@Id
  	@Column(name = "uuid")
  	private Integer uuid ;                              //流水ID
  	
  	@Column(name = "nick_name")
  	private String nickName ;                              //用户别名
  	
  	@Column(name = "pass_word")
  	private String passWord ;                              //用户密码
  	
  	@Column(name = "email")
  	private String email ;                              //电子邮箱
  	
  	@Column(name = "phono")
  	private String phono ;                              //电话号码
  	
  	@Column(name = "birthday")
  	private String birthday ;                              //生日编号
  	
  	@Column(name = "reg_date")
  	private Date regDate ;                              //注册时间
  	
  	@Column(name = "login_count")
  	private Integer loginCount ;                              //登录次数
  	
  	@Column(name = "state")
  	private Integer state ;                              //状态
  	

    //构造函数
    public UserInfo(){}

    public UserInfo( Integer uuid        ){
        this.uuid = uuid;
    }

    public UserInfo( Integer uuid, String nickName, String passWord, String email, String phono, String birthday, Date regDate, Integer loginCount, Integer state){
        this.uuid = uuid;
        this.nickName = nickName;
        this.passWord = passWord;
        this.email = email;
        this.phono = phono;
        this.birthday = birthday;
        this.regDate = regDate;
        this.loginCount = loginCount;
        this.state = state;
    }

    //getter和setter方法
	public Integer getUuid() {
		return uuid;
	}

	public void setUuid(Integer uuid) {
		this.uuid = uuid;
	}
    
	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
    
	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
    
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
    
	public String getPhono() {
		return phono;
	}

	public void setPhono(String phono) {
		this.phono = phono;
	}
    
	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
    
	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
    
	public Integer getLoginCount() {
		return loginCount;
	}

	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}
    
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
    
}